package com.wc.dao;

import com.wc.pojo.Authorize;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AuthorizeMapper {

    Authorize getAuthorize();

    int addAuthorize(Authorize authorize);

    List<Authorize> getAuthorizelist(@Param("pageNo") int pageNo, @Param("pageSize") int pageSize);

    int getAuthorizecount();

    Authorize getOwnerid(Integer sqOwnerid);

    int deleteAuthorize(Integer sqOwnerid);

}
